Micron Document
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| SparkN0de-git | SparkN0de |
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------


Commit 0606afd6c8094c1731caf4ede17a81833d485799


Parents : 9ea4efe
Author : Ivan <e46112d44649266d71fe2193e00a4710>
Signature : T66BB85Valid, signed by author
Date : 2026-07-26T05:50:29-05:00

feat: update DocsPage tests to reflect changes in Sphinx manual and localized site index handling

Changes

2 files changed, 9 insertions(+), 4 deletions(-)


Diff

diff --git a/meshchatx.rsm b/meshchatx.rsm
index b3ece557..f39c9087 100644
Binary files a/meshchatx.rsm and b/meshchatx.rsm differ

diff --git a/tests/frontend/DocsPage.test.js b/tests/frontend/DocsPage.test.js
index eee550f6..6ec91e71 100644
--- a/tests/frontend/DocsPage.test.js
+++ b/tests/frontend/DocsPage.test.js
@@ -276,17 +276,22 @@ describe("DocsPage.vue", () => {
expect(wrapper.vm.status.last_error).toBeNull();
});
- it("opens the Sphinx manual for English and localized site index for other locales", async () => {
+ it("opens the Sphinx manual by default and localized site index via Reticulum language picker", async () => {
const wrapper = mountDocsPage();
await nextTick();
+ // App UI locale must not rewrite the Reticulum docs entry URL.
i18nMock.locale = "de";
await nextTick();
- expect(wrapper.vm.localDocsUrl).toBe("/reticulum-docs/index_de.html");
+ expect(wrapper.vm.localDocsUrl).toBe("/reticulum-docs/manual/index.html");
- i18nMock.locale = "en";
+ await wrapper.vm.setLanguage("de");
await nextTick();
- expect(wrapper.vm.localDocsUrl).toBe("/reticulum-docs/manual/index.html");
+ expect(wrapper.vm.localDocsUrl).toMatch(/^\/reticulum-docs\/index_de\.html/);
+
+ await wrapper.vm.setLanguage("en");
+ await nextTick();
+ expect(wrapper.vm.localDocsUrl).toMatch(/^\/reticulum-docs\/manual\/index\.html/);
});
it("handles extremely long error messages in the UI", async () => {


──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────